#ifndef _BASIC_DEFINE_H_
#define _BASIC_DEFINE_H_

/* Default includes */
#include <cstdlib>
#include <iostream>
#include <string>
#include <sstream>
#include <math.h>
/**/

/*!
	operator for comparing objects, can be used if the operator == is defined for these kind of objects
	\param obj1 an object
	\param obj2 object to compare with obj1
	\return if the given objects are different
*/
template <class Tipo1, class Tipo2>
	inline bool operator != ( const Tipo1 &obj1, const Tipo2 &obj2 ) {
		return !(obj1 == obj2);
	};

//! Lazy man's utilities.
/*!
	Your life is easier using less characters.
*/
namespace Define{
	using namespace std;

	/*! "." << endl */
	const string pendl = string(".\n");
	/*! "!" << endl */
	const string eendl = string("!\n");
	/*! "?" << endl */
	const string iendl = string("?\n");
	
	/*! usint = unsigned int */
	typedef unsigned int uint;
	/*! sint = short int */
	typedef short int sint;
	/*! usint = unsigned short int */
	typedef unsigned short int usint;
	/*! lint = long int */
	typedef long int lint;
	/*! ulint = unsigned long int */
	typedef unsigned long int ulint;
};

#include "./time.h"

#endif // _BASIC_DEFINE_H_
